Skip to content

feat(presets): add beta Chill Normal and Intense collections - #36

Merged
johnneerdael merged 8 commits into
mainfrom
feat/predictive-collections-beta
Oct 5, 2026
Merged

johnneerdael merged 8 commits into
mainfrom
feat/predictive-collections-beta

Conversation

@johnneerdael

@johnneerdael johnneerdael commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Summary

Replace the Dance collection with All, Chill, Normal and Intense in a beta predictive preset engine. All remains the default. The offline numerical predictor uses the published standard ProjectM-TV:core AAR through JNI, then ranks activity across the complete preset library; the app reads prebuilt indexes.

Changes

  • Complete 9,606-row published-AAR run: 2,702 Chill presets (1–30), 4,658 Normal (25–75), 2,795 Intense (70–100). Inclusive overlapping ranges; moving endpoints 1 and 100, with ties preserved.
  • Retired saved selections return to All. Automatic changes, Random and Previous remain within the selected collection and existing skip rules.
  • Preserve original preset bytes, texture content and master memory weights. All retains 9,606 presets. The 382 probe-inactive results remain in All and are excluded from curated moods; unresolved measurements cannot be exported as calmness. This is an execution-informed predictor, not a source-only prediction run.
  • Bind source, AAR, native/helper/audio/model/viewport identities to every result and the generated manifest. Retain original producer identities and model scores, with exact archived source and enforced scorer/model pairing. A separate derived-scoring identity pins the refitted direct-delta model, fitting implementation and original eight judgments; original rows are unchanged.
  • Halt the numerical batch at its first failed measurement and require diagnosis/repair before continuing. Diagnostic collection failures are retained separately from the primary measurement. Timeout cleanup always kills the local streaming child even when the remote ADB kill fails. Required metadata transfer is bounded; retry mode measures only retained unresolved cases.
  • APK checkout keeps full commit/tag history with a blob filter, avoiding downloads of unrelated historical evidence while preserving release version allocation.
  • CI recalculates ranks and memberships and checks source/texture/weight identities and index checksums.

Release notes

  • Predictive preset engine (beta): choose Preset mood → Chill, Normal or Intense for gentler through stronger visual activity. The old Dance collection is replaced; a saved Dance choice returns to All.
  • All remains the default, keeping the full 9,606-preset library available. The selected mood is saved, and automatic changes, Random and Previous stay within it, subject to the TV's skip rules.
  • Beta scores run from 1 to 100 within this library: Chill 1–30, Normal 25–75 and Intense 70–100, with overlapping edges. These are provisional predictions rather than accuracy percentages or guarantees of no flashing; music, random inputs, resolution and GPU can change behaviour. Report a preset/mood mismatch so the scoring can be refined.

Validation

Completed code checks:

  • Native engine/render-policy tests and 15 patched-projectM regressions pass; the real EGL/GLES transition overlay is skipped on macOS without its development libraries.

  • ./gradlew testDebugUnitTest :app:assembleDebugAndroidTest --no-daemon: passes.

  • Analyzer, transport, descriptor, collection, recovery and batch-control tests: 99 pass using the prepared 2.3.3 source adapters.

  • Preset Lab non-native tests: 159 pass, 3 native tests deselected.

  • tools/gen-preset-index.py --check, tools/check-presets.py, git diff --check: pass.

  • mkdocs build --strict: passes.

  • Release-tooling suite: 80 tests pass. An actual fresh blob-filtered remote clone produced identical version metadata to the full local repository.

  • Published standard 2.3.3 AAR checksum and BuildConfig capped policy verified. The isolated interrupted case completed 420 frames after its cause and diagnostic path were addressed; every retained result then passed raw-formula/provenance checks.

  • Complete coverage: 9,606 unique names and source hashes, 9,606 scored, zero unscored. Export and independent bundle verification pass; moving endpoints and retired-index removal checked.

  • Final separate test-app APK/JVM/instrumentation build passes. Installed on the task-owned API34 ARM64 emulator; all three groups pass category application, eligible counts, random membership, focusable control and retired-Dance fallback. A settings capture shows the Normal label/count. No physical TV or live-audio evaluation is credited.

  • Updated-head GitHub CI and Codex review pending after the calibration/timeout repair.

Documentation assessment

Updated README, Pages collection/setup/settings/controls/troubleshooting/development sources, architecture control labels, AGENTS and analyzer/legacy Preset Lab guidance. Historical Dance research and links are retained with retirement notices. Reviewed releasing, third-party attribution, diagnostics, profiling and historical release notes; no rendering patch, dependency licence, release-version or historical-release rewrite is needed. Routine versions are unchanged. Added a verified emulator settings capture and a research handoff listing all 382 inactive cases with hashes, gate attribution, missing diagnostics and focused reproduction controls.

Evidence and limitations

The inactive-case engineering handoff distinguishes 231 stationary readbacks, 42 contrast-gate cases, 24 brightness-gate cases and 85 cases whose exact maximum-threshold failure cannot be reconstructed from saved averages. It prioritizes 41 nonstationary rows with flow estimates for possible gate false negatives; these are not established native bugs.

The numerical reference uses the standard published capped 2.3.3 AAR at 128×72, 30 fps, 48×32 mesh, 420 frames with 60 warm-up frames and a shared synthetic quiet/melodic/kick probe. It does not certify TV/Native-resolution appearance, every random image/seed, long-term feedback or taste. The model is refitted to the actual direct30Hz brightness and native10Hz motion features, replacing the mismatched historical compensated-brightness model. The original eight human judgments came from Milkbeat0.9.0/core2.2.2 under mostly unspecified conditions; sample1 was tentative. Held-out base-model diagnostics give4/8strict band matches and6/8within five points, with large misses for samples1and8. This transferred-label beta calibration is not accuracy-certified. The corrected ranking changes1,634memberships while retaining group totals. Source parser coverage and successful native execution are separate from perceptual accuracy. Full authored preset files remain unchanged.

This PR is for evaluation and testing; merge/publication is intentionally left to the maintainer.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T16:34:47.500027Z 2be9b57 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: bfc21aafdc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/preset-lab/README.md Resolved
@johnneerdael

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9adb47f4c8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/milk-analyzer/beta_score.py Resolved
Comment thread tools/milk-analyzer/beta_score.py Resolved
…t cleanup

Refit the original eight historical judgments on retained native direct-delta features. Preserve measurement producers and original activity, pin a distinct derived model identity, and regenerate rankings without rerendering or changing preset source. Keep transferred-label calibration limitations and held-out misses explicit.

Always terminate the local stream when remote ADB timeout cleanup fails; retain cleanup diagnostics and join the callback before saving. Verified 94 analyzer tests, complete bundle, rebuilt test APK, emulator collection tests and strict docs build.
@johnneerdael

Copy link
Copy Markdown
Owner Author

@codex review

Reject source/model pairings that no recorded CLI producer can generate. Both archived scorers select v1 and the current scorer selects direct-delta v2. Original corpus identities remain unchanged. Two reversed-pair controls reproduce the gap; 96 analyzer tests and full bundle verification pass.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 20c178314c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@johnneerdael

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7864b17cf7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/milk-analyzer/beta_score.py Resolved
Comment thread tools/milk-analyzer/beta_score.py Resolved
Reject retry selections that bypass retained failures, and keep retry batches separate from new measurements. Bound required metadata pulls even after the runner exits; also bound ownership, setup and artifact-transfer commands. Three regression controls reproduce the two review findings, with 99 analyzer tests, unchanged full-bundle validation and strict docs passing.
@johnneerdael

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🎉

Reviewed commit: 449bfbeb28

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Use blob-filtered full-history checkout for APK builds. Version allocation still sees every commit and tag and lazily retrieves historical Gradle metadata. A fresh remote clone and current checkout used about 200 MiB of packs instead of the full repository history; version outputs matched the existing full clone exactly and 80 release-tooling tests pass.
@johnneerdael

Copy link
Copy Markdown
Owner Author

@codex review

@johnneerdael
johnneerdael merged commit 7f9e6bd into main Oct 5, 2026
5 of 10 checks passed
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 2be9b57f3a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants